﻿@model IEnumerable<DeJC.DAL.Model.GeneralMiscType>
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_layoutConfig.cshtml";
}

<h2>Index</h2>
<p>
    @Html.ActionLink("Agregar nuevo","CreateParent")
</p>
<table>
    <tr>
        <th>Nombre</th>
    </tr>
    @foreach(var item in Model)
    {
        <tr>
            <td>
                @item.Name
            </td>
        </tr>
    }
</table>